package com.example.api.service;

import com.example.api.model.entity.Driver;

import java.util.List;

public interface DriverService {

    Driver insert(Driver driver);

    void update(Driver driver);

    void delete(String id);

    Driver findById(String id);

    List<Driver> findAll();

    List<Driver> findByLikeName(String name);

}
